'use strict';

var app = angular.module('CBO');

app.service('CBOEnum', [function(){
    return {
        RowStatus: {
            UnChange: {Value: 0, Text: '没变'},
            Insert: {Value: 1, Text: '新增'},
            Delete: {Value: 2, Text: '删除'},
            Modify: {Value: 3, Text: '修改'}
        },
        //终端类型
        TerminalType: {
            Pad: {Value: 0, Text: '平板应用'},
            WiFi: {Value: 1, Text: 'WiFi读头'},
            Other: {Value: 2, Text: '其他'}
        },
        //终端来源类型
        TerminalSourceType: {
            System: {Value: 0, Text: '系统'},
            Mobile: {Value: 1, Text: '移动端'},
            EMM: {Value: 2, Text: 'EMM系统'}
        },
        //终端执行结果
        ExecuteResult: {
            Success: {Value: 0, Text: '成功'},
            Fail: {Value: 1, Text: '失败'},
            AnalyzeException: {Value: 2, Text: '解析异常'}
        }
    };
}]);

